package org.ziwei.rule.pojo;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name="rule")
public class Rule {

	@Id
	@Column(name="rule_code")
	private String ruleCode;
	
	@Column(name="rule_desc")
	private String ruleDesc;
	
	@Column(name="book_id")
	private Long bookId;
	
	@Column(name="book_number")
	private Integer bookNumber;
	
	@Column(name="create_time")	
	private Timestamp createTime;
	
	@Column(name="last_update_time")
	private Timestamp lastUpdateTime;
	
}
